import Vue from 'vue'
import Router from 'vue-router'
import Base from '@/components/Base'
import Hello from '@/components/Hello'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Base',
      component: Base
    },
    {
      path: '/Hello',
      name: 'Hello',
      component: Base,
      children: [
        {
          path: 'index',
          component: Hello
        }
      ]
    }
  ]
})
